package cn.tedu.tea.domain.repository;

import cn.tedu.tea.domain.bo.ContentBO;
import cn.tedu.tea.protocol.param.ContentParam;

import java.util.List;

public interface ContentRepository {

    int insert(ContentParam contentParam);

    int updateByPrimaryKey(ContentParam contentParam);

    int delete(int id);

    List<ContentBO> selectAll();

    ContentBO selectById(int contentId);



}
